Serverless Preview AWS vs Azure vs Google Cloud

October 25, 2021

Serverless Preview AWS vs Azure vs Google Cloud

Are you planning to migrate to serverless computing? Well, the benefits are undeniable. It's faster, more scalable, and more cost-effective. However, choosing the best serverless platform can be overwhelming.

In this article, we'll compare the three biggest cloud service providers - AWS, Azure, and Google Cloud - based on their serverless pricing.

AWS Lambda

Lambda is AWS's fully managed service that lets you run your code without worrying about the underlying infrastructure. AWS Lambda pricing is based on the number of requests, the duration of the function execution, and the memory usage.

The first one million requests per month are free of charge. Anything beyond one million requests will cost you $0.20 per 1 million requests. The charge for duration is $0.00001667 per GB-second. And the memory usage charge is $0.00001667 per GB-second.

Azure Functions

Azure Functions is Microsoft's serverless computing solution that allows you to run functions as a service. The pricing model is almost similar to AWS Lambda. The first 1 million requests per month are free. And beyond that, you will be charged $0.20 per million requests.

The execution time and memory usage cost is also the same as AWS Lambda. The charge for duration is $0.0000167 per GB-second. And memory usage cost will be $0.0000167 per GB-second.

Google Cloud Functions

Cloud Functions is Google's serverless compute solution that allows you to run your code in a serverless environment. Google's pricing model is somewhat similar to the other two providers.

But the difference is in the free tier. Google provides a free tier of 2 million requests, which is double of the other two providers. And after that, charges are the same - $0.20 per 1 million requests.

For duration, Google charges $0.0000025 per GB-second, which is almost 7 times cheaper than the other two providers. And for memory usage, the charge is $0.0000025 per GB-second.

Conclusion

After comparing the serverless function pricing of the three cloud providers, we can conclude that Google Cloud Functions is the most economical option. It has a more generous free tier, and the cost during execution is significantly cheaper than AWS and Azure.

But keep in mind that pricing is not the only factor to consider when choosing a cloud provider. It's important to look at other factors such as platform features, security, and support, before making your final decision.

References


© 2023 Flare Compare